 #!/usr/bin/env python

 import Tkinter
 import Zinc
 from Tkconstants import *

 class Application(Tkinter.Tk):
        def say_hi(self):
                print "Some Stuff"

        def createWidgets(self):
                self.QUIT = Tkinter.Button(self.frame, text="QUIT", fg="blue", command=self.quit)
                self.QUIT.pack(side="left", expand=0)

                self.hi_there = Tkinter.Button(self.frame, text="Hello", command=self.say_hi)
                self.hi_there.pack(side="left", expand=0)


                self.zinc = Zinc.Zinc(backcolor="black", confine=1, forecolor="white", render=1, reshape=1)
                self.zinc.configure(tile=self.image)
                self.zinc.pack( expand=1, fill=BOTH)


        def __init__(self):
                Tkinter.Tk.__init__(self)
                Zinc.havetkzinc(self)
                self.image = Tkinter.PhotoImage(file="bgimg.gif")
                self.frame = Tkinter.Frame()

                self.frame.pack(expand=1})
                self.createWidgets()

 app = Application()
 app.mainloop()

